So, here's the toolset:
- Google Analytics account
- retailCRM account
- FTP-client to access site source files
We begin the adjustment with entering the retailCRM administration panel. Upon there choose "Integration", "Web analytics" section. Here you will see a single module - Universal Analytics
, enter it and copy the username. In our case it looks as: retailCRMfirstname.lastname@example.org
Now go to the GA account, "Admin" section. Find "User Management" subparagraph on the left side and click on it. Insert the earlier copied name in the field "Add permissions for" and set "Read & Analyze" privileges for it, click "Add".
After you have added a new user, go to "View Settings". Here fill in "Website's URL" (insert address of your internet-store) and set currency used in eStore. Save.
Return and click "Ecommerce settings". Inside the section set the slider "Status" to "ON", and leave "Related Products" as it is. Save.
Go to Google Analytics main page, Admin section, and click "Custom Definitions". Choose "Custom Dimensions" from the dropping list. Create a new custom dimension named retailCRMVisitorID and remember the index that will be given to it. In our example the index equals 1.
The next step we are to do is to fill in the data in Order management system. We return to Universal Analytics settings, and fill in the following fields:
- Profile ID. You must get the identificator itself in "View Settings" in GA admin section. "View Identificator" is the profile ID we need. Copy it and paste in retailCRM field.
- Parameter Index - it is the retailCRMVisitorID and it equals 1 in our example. That's why we put "1" in the field.
- Tracking Identificator - we get it in GA Admin section, "Property Settings" part. The value of UA-XXXXXXXX-X type is the tracking ID. Copy it and paste to retailCRM field.
In the dropping list "Relate transactions through" select "order number", tick "Enabled" and save.
Here on, the Order management system and Google Analytics bundle is adjusted. Let's now setup connection with the eStore itself. To do this we will add GA script to the site. The script consists of two parts:
You should put the first part of the script in all the site pages, it will register client visits: