You’re using Zoho CRM Webforms, and after the form is submitted, the user is redirected back to the site.

So the referrer is naturally crm.zoho.com (because when the user comes back from the redirected form, Google Analytics thinks it’s a new session with source=crm.zoho.com):
To fix this, you need to remove the referrer information (“crm.zoho.com“) when the user comes back from the redirect.

Here is how you can do this:

Method #1

  1. Sign in to your Analytics account.
  2. Click Admin.
  3. In the ACCOUNT column, use the dropdown to select the Analytics account that contains the property you want to work with.
  4. In the PROPERTY column, use the dropdown to select a property.
  5. Click Tracking Info.
  6. Click Referral Exclusion List.
  7. To add a domain, click +ADD REFERRAL EXCLUSION.
  8. Enter “crm.zoho.com”.
  9. Click Create to save.

Method #2

1. Add a new HTML file to your site, call it something like “redirect.html”, and set its contents with the following:

2. Inside your Zoho Webforms, there is a hidden field that looks something like this:

You need to set “value” to http://your-domain.com/redirect.html (just make sure to URL encode it – replace symbols such as “:” or “/”):

 

As a result, your users will be redirected to redirect.html first, which will remove the referrer information before redirecting them to the thank you page. Without referral information, Google Analytics will think that this is a direct visit. And according to their last non-direct click algorithm, direct visits don’t overwrite the previous source (opposed to source=”crm.zoho.com”).

Although method #2 is more complex to implement and maintain, it has a significant advantage: with method #2, form submissions won’t trigger new sessions (since there is no GA code on redirect.html, the redirect will be completely invisible to Google). While with method #1, a new session is started after the form submission:

“If you exclude third-party domains that refer traffic, a new session is still triggered by the referral, but the source/medium information for that referring domain appears as (direct/none) in your reports.” — https://support.google.com/analytics/answer/2795830?hl=en

Comments

  1. Dan

    Will this redirect method stop the form from sending the user to crm.zoho.com? Can a Zoho form simply send the data to the CRM and not send the user to crm.zoho.com?

    Please explain more about what method #2 is actually doing.

    Method 1 won’t work:
    According to GA documentation, adding zoho.com to the Referral Exclusions list will stop it from showing in your reports, BUT:

    “If you exclude third-party domains that refer traffic, a new session is still triggered by the referral, but the source/medium information for that referring domain appears as (direct/none) in your reports.” — https://support.google.com/analytics/answer/2795830?hl=en

    Does the second solution preserve the original source/medium of the visitor, and does it not start a second phony session?

    Thanks

  2. Ardian

    Hi Dan,

    Ardian here, from GA Connector support team.

    Although method #2 is more complex to implement and maintain, it has a significant advantage: With method #2, form submissions won’t trigger new sessions (since there is no GA code on redirect.html, the redirect will be completely invisible to Google).

    While with method #1, a new session is started after the form submission:
    “If you exclude third-party domains that refer traffic, a new session is still triggered by the referral, but the source/medium information for that referring domain appears as (direct/none) in your reports.” — https://support.google.com/analytics/answer/2795830?hl=e