1. Help Center
  2. SETUP
  3. UTM and Tracking Setup

The Complete Guide to Installing and Testing the Wicked Reports tracking code

The complete guide to installing our tracking code and verifying that it will track your marketing stack.

Wicked Reports has been tracking cross-domain traffic, connecting it to CRM and shopping cart conversions, and attributing the revenue across the entire customer journey for many years now. 

Wicked Reports needs tracking IDs on incoming link clicks, tracking code on your marketing stack, and integrations with your CRM and Order systems.  We can then handle all the tracking and attribution for you. 

The intention of this document is to provide a resource for you to install and test the installation of our tracking code.  

How to install the tracking code

You can find your tracking script by logging into your Wicked Reports account and clicking on "Setup" then "Tracking Code" as shown below.
 
Install this tracking code on every page on every domain you want to track.
This includes all landing pages, blogs, pop ups, any/all opt in forms, and order forms (I lovingly refer to this as your "Marketing Stack").

Please take the time to ensure that this Tracking Code is everywhere you want to track. If a page doesn't have the Tracking Code, we won’t be able to track it. For peace of mind, place the Wicked Tracking Code EVERYWHERE. 

 
The easiest and fastest Wicked Tracking Code installations happen when you already have Google Tag Manager installed on your entire marketing stack. If that's the case, follow these fast and easy instructions:  https://help.wickedreports.com/wicked-tracking-code-with-google-tag-manager and then proceed down to the "How to test your tracking setup" instructions.
If you do not have Google Tag Manager fully installed across your marketing stack, you will have to install the tracking code across your website, blog, landing page software, form capture software, iframes (if any), and order forms.
 

We've managed to track some complex, multi-domain funnels in our history.  But keep in mind, if this becomes a headache for you, discuss your funnel in detail with your onboarding specialist or email support@wickedreports.com for help!

 
Without full Google Tag Manager coverage, find more detailed instructions on adding the Wicked Tracking Script to systems you use by clicking on the link(s) below:

If your system is not listed above, you simply find a place to add our tracking code.  Or just work with your customer success rep.

No options for tracking code installation on part of your marketing stack?

 If you simply cannot place a tracking code on a portion of your marketing funnel, we have ways to still track your traffic.  You will need to have your incoming link click hit a page with our tracking code first before entering whatever "tracking black box" marketing stack technology you are using.
At that point, we have some options:
  1. https://help.wickedreports.com/using-the-thank-you-page-hack-to-capture-optin-and-order-actions
  2. https://help.wickedreports.com/passing-utm-values-into-an-iframe
  3. Passing certain info to a hidden form field

These options are not needed often.  Please discuss with your customer success rep first, we can help guide you through this if necessary.

    How to test your tracking setup on a specific URL

    1. Make sure the URL does not redirect and lose tracking parameters.  You can do this by typing in the URL with a test UTM string on the end of it and seeing if that test UTM string is still in the website address box of your browser after the page loads.   

    For example, www.yourtesturl.com ?utm_source=wicked-test, after any redirection, the URL must still have utm_source=wicked-test in the website URL of your browswer.

    2. Select the type of tracking test:

    • Traffic detection - a click to the page has the wicked tracking code on it
    • Optin Tracking - a click to a page that attempts to capture a lead via email optin
    • Sales Tracking -  a click to a page that attempts to capture a sale

    The reason for the different types of tests is that optin and sales tracking often involve forms, iframes, additional domains, and other factors. We can track all these things, but the testing process is different for each.

    Traffic Detection Test

    In Tracking Code Verification, select "Traffic detection" and enter the URL of the Email
    Screen Shot 2020-08-19 at 3.24.02 PM
     Click Start Test and a new browser tab will open
     
     
    Once loaded, go back to Wicked Reports and click "End Test"
    Screen Shot 2020-08-19 at 3.24.59 PM 
     
    If we find the Tracking Code on that page, the test will Pass.  If not, the test will Fail
     Screen Shot 2020-08-19 at 3.24.32 PM

    Optin Tracking Test

    In Tracking Code Verification, select "Optin tracking" and enter the URL of the Email
    Screen Shot 2020-08-19 at 3.27.40 PM
    Click Start Test and a new browser tab will open
     
     
    Once loaded, optin to the page with the email address:   testing@wickedreports.com
    Screen Shot 2020-08-19 at 3.27.54 PM 
    Go back to Wicked Reports and click "End Test"
    Screen Shot 2020-08-19 at 3.30.20 PM
     
    If we we can track the optin successfully, the test will Pass.  If not, the test will Fail  (if it fails, did you use testing@wickedreports.com?)
     
    Screen Shot 2020-08-19 at 3.28.08 PM

    Sales Tracking Test

    In Tracking Code Verification, select "Sales tracking" and enter the URL of the Email
     Screen Shot 2020-08-19 at 3.32.38 PM
    Click Start Test and a new browser tab will open 
    Once loaded, place a test order with the email address:    testing@wickedreports.com
     
    Go back to Wicked Reports and click "End Test"
      Screen Shot 2020-08-19 at 3.30.20 PM
    If we we can track the order successfully, the test will Pass.  If not, the test will Fail  (if it fails, did you use testing@wickedreports.com?)
    Screen Shot 2020-08-19 at 3.24.32 PM

    How to see tracking coverage across your entire marketing stack

    To see all URLs Wicked Reports has detected via Facebook, Google, and incoming traffic, you can use our Traffic Validation report: https://help.wickedreports.com/tracking-validation

    If you are in the ROI report and want to verify tracking on a specific campaign, click on the Wicked Tools menu of that campaign's row.  You can select Tracking Page validator and see all URLs clicked and tracked from that campaign and re-test if the need arises.

    Tracking Code Troubleshooting

    • If you are testing, make sure to use testing@wickedreports.com - I'm the CEO of Wicked Reports, and I still sometimes mistakenly use my own email address for testing!
    • Always make sure that UTM and/or WickedIDs on the end of links do not get stripped or redirected.  Redirection is a common risk area to make sure you avoid.
    • While not fun, focusing on the most critical tracking challenges early on in your Wicked Reports experience can bring great insights and ROI.
    • Most common marketing technologies are fast one-time pastes of our tracking code, set and forget.
    • If you feel like Facebook tracking is off, you can dig into https://help.wickedreports.com/facebook-resources-library
    • Double-check your Google tracking template:  https://help.wickedreports.com/how-to-integrate-google-ads-and-wicked-reports
    • For video examples of testing for tracking code installation, or to learn how to look for the Wicked tracking code in a page's source code, check out: https://help.wickedreports.com/validate-wicked-tracking-code-is-on-your-pages
    • Make sure that if you are redirecting your domain www.somedomain.com to somedomain.com you are passing any querystring. If you do not do this, your site will not track.

    Remember, it all comes down to a click with tracking parameters hits our tracking code, and any email inputs or sales are on pages/forms with our tracking code. Wicked can take care of the rest, and we are here to help, support@wickedreports.com, if you ever need us.