- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to setup a custom goal
How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I'm trying to create a goal for all of my sales pages. I want to basically track which sales page leads to a sale.
So basically enter the URL I want to split test and then set the conversion as people reaching a certain destination URL.
Trying to figure out how to do that.
Thanks
Brett
Re: How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Have a look at creating a multi-page funnel experiment (https://help.optimizely.com/Build_Campaigns_and_Experiments/Create_multi-page_funnel_experiments_in_...). On the page you consider a conversion, create a custom goal like so:
// ensures the optimizely object is defined globally using window['optimizely'] = window['optimizely'] || []; // sends a tracking call to Optimizely for the given event name. window.optimizely.push(["trackEvent", "eventName"]);
You can learn more about custom goals here: https://help.optimizely.com/Measure_success%3A_Track_visitor_behaviors/Custom_event_goals_in_Optimiz...


Re: How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Re: How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report


Re: How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Re: How to setup a custom goal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Please refer to the link I sent previously to the Optimizely article, but to summarize it, here are the steps you need to take:
1) Create a Multi-Page experiment with the URL for whatever page your users enter the funnel
2) Click 'Add Page' to continue adding pages that belong to your funnel including the sales page
3) On your sales page, open the Variation Code, and copy and paste the following:
// ensures the optimizely object is defined globally using window['optimizely'] = window['optimizely'] || []; // sends a tracking call to Optimizely for the given event name. window.optimizely.push(["trackEvent", "eventName"]);
4) Edit your goals and add a custom event goal. The custom event goal corresponds to the 'eventName' you input into the Variation Code
--
Your experiment will now measure the number of times visitors hit the sales page.

