GA4 source medium data showing as self-referral | Community
Skip to main content
Answered

GA4 source medium data showing as self-referral

  • September 6, 2023
  • 4 replies
  • 203 views

I am having a very specific problem in tracking typeform performance at channel levels within GA4. We've successfully set up and can measure total typeform submissions but for some reason all traffic is showing as referral traffic from ourselves instead of retaining the original source/medium data. When we initially set up the integration we were getting full source/medium data then something changed and started showing as a self referral. I found a bit of historical conversations about this but it seemed to not be the exact same problem being addressed in past feeds. 

any insight would be amazing.

 

Thanks

Best answer by mathio-tf

Hello @k0k1man 

I am afraid you are using old version of the embed SDK. Is this something that was implemented long time (over 2 years) ago? If it is more recent, I’d like to kindly ask where did you get the embed code as we would like to keep all of our docs up to date.

 

Regarding the issue:

  1. please upgrade to latest embed code
    1. you can find latest embed code on your share page
    2. or you can build the code using embed SDK directly
  2. if you are looking to pass tracking query params from your website into your typeform, you can use data-tf-transitive-search-params attribute - see docs on dynamically passing hidden fields

Your new embed code could look, for example, like this:

<div data-tf-widget="pBsGXV5h" 
     data-tf-hide-headers 
     data-tf-transitive-search-params 
     style="width: 100%; height: 100%;"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

 

View original

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14996 replies
  • September 6, 2023

Hi @k0k1man Could you send the URL where you have the form embedded? (if it is embedded) Thanks!


  • Author
  • Explorer
  • 1 reply
  • September 11, 2023

Hi @Liz the following form is an example of one of the implementations: https://luminaire.com/pages/schedule-showroom-appointment 

thanks

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14996 replies
  • September 11, 2023

Hi @k0k1man Thank you for sharing this! This form looks really nice. 

It looks like you might have some custom code pointing to the form. I’m tagging @mathio to see if they notice anything that would prevent this data from entering into the hidden fields. 


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • September 12, 2023

Hello @k0k1man 

I am afraid you are using old version of the embed SDK. Is this something that was implemented long time (over 2 years) ago? If it is more recent, I’d like to kindly ask where did you get the embed code as we would like to keep all of our docs up to date.

 

Regarding the issue:

  1. please upgrade to latest embed code
    1. you can find latest embed code on your share page
    2. or you can build the code using embed SDK directly
  2. if you are looking to pass tracking query params from your website into your typeform, you can use data-tf-transitive-search-params attribute - see docs on dynamically passing hidden fields

Your new embed code could look, for example, like this:

<div data-tf-widget="pBsGXV5h" 
     data-tf-hide-headers 
     data-tf-transitive-search-params 
     style="width: 100%; height: 100%;"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

 


Reply