Google introduced Universal Analytics in October 2013, and they are slowly phasing out the older version known as "Google Analytics." This requires a script update in your website footer and some updates in your ROI account in order to successfully import identified visitors. Google may not notify you when your account has been transitioned to Universal, so if you find a sharp drop in tracking for identified visitors, this could indicate that Google has switched your account to Universal. 

Follow the steps below if your account has been transitioned on your behalf so that you can continue gathering identified visits. If your account has not already been transitioned to Universal, we recommend you make the updates below as soon as possible so that nothing is disrupted. The steps below assume your Google Analytics integration with ROI has already been setup correctly and was running successfully before the unexpected transition. 

First Objective: Update Google capture script in website footer. 

Copy the Universal code that must be added to your website footer. Log in to your Analytics account and navigate to Admin, Tracking Info, Tracking Code, and copy the tracking code to replace the old ga.js code (continue reading). 

Your webmaster must delete the old Analytics script and replace with the Universal script as soon as possible. Notice in the example screenshot below that the Google Analytics (not Universal Analytics) capture script includes ga.js. This Google script is located right above the ROI capture script, usually in the footer of your website. The script below only works for Google Analytics and needs to be deleted and replaced with the Universal Analytics script. Do not include both scripts.

Old script:

Delete the Google Analytics script.

Replace with the Universal Analytics script found in your Google Analytics account. 


Second Objective: Create Custom Dimensions in Google Analytics


1. Follow the steps below to complete your Universal Analytics integration with ROI: Log in to Google Analytics > Admin > Custom Definitions > Custom Dimensions.



    2. Add four new Custom Dimensions with scope “Hit”. Add a fifth Custom Dimension titled “ROIID” with scope “User” (See below). Dimension 5 must be "Active".


    3. In your ROI account navigate to the Admin tab and click Preferences and then Google

      •  Change Custom Variable Value from “ga:customVarValue5” to “ga:dimension5
      • Click Save

      4. Under the Admin tab in ROI click Field Maps and then Google

      • In the first row, change Source Column from “ga:customVarValue5” to “ga:dimension5
      • Click Save

      Identified visits should be available within 24 hours of importing into ROI from Google. Please contact with additional questions.