How Do I Prevent My Analytics Tool Recording a Hit on Original When a Split URL Variation is shown


When you are running a Split URL experiment, all your traffic will go to the original URL and from there, Convert script will eventually redirect to a variation URL (if variation is to be presented to that specific visitor).

Sometimes you might notice that in your analytics software (e.g. GA), original URL is still showing as receiving all the traffic (even though the variation URLs are showing as receiving the right portion of the traffic). In that case, it can give the false impression of an increase in pageviews where each variation has the right percentage but original has the sum of all plus its own percentage (exactly or close to that).

To fix this please follow the following steps.

Solve Analytics Problems

Order of Tracking Codes

Make sure Convert experiments tracking code is placed on page BEFORE your analytics software tracking code; this will probably solve the issue in most of the situations.

Wrap analytics tracking code

To make sure that no traffic is recorded on original URL whenever the variation is presented, wrap your analytics software tracking code like presented below:

See the Pen Wrap Analytics Code by George Crewe (@gcrewe) on CodePen.

Need assistance? Start a conversation with our Support Team.

Reliably Convert More Site Visitors, Even If Everything Else is Changing in Your Business.

✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features