没有使用Firebase动态链接为我的网站设置UTM参数 [英] UTM parameters not set for my website with Firebase dynamic links

查看:162
本文介绍了没有使用Firebase动态链接为我的网站设置UTM参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要缩短我的网站网址,然后选择Firebase动态链接( https://firebase.google.com/docs/dynamic-links ).在创建链接时,我还添加了UTM参数.

I have a need to shorten my website url and I choose Firebase Dynamic Links (https://firebase.google.com/docs/dynamic-links) for that. I also added UTM parameters while creating the link.

单击链接后,用户将被重定向到所需的网站,但是这些参数未传递给该网站.因此,对于Google网站,GA不会对其进行跟踪.

When clicked on the link, the user is redirected to the desired website, but these parameters are not getting passed to it. Hence by GA for the website doesn't track it.

我做错什么了吗?还是对于我的用例来说,动态链接是一个不好的选择吗?

Am I doing something wrong? Or Is Dynamic Links a bad choice for my use case?

推荐答案

UTM参数是用于移动跟踪的参数.如果要将UTM参数传递到后备"网站,则需要将其添加到后备地址本身.

UTM parameters that you choose in UI are parameters for mobile tracking. If you want to pass UTM parameters to your "fallback" website, you need to add them to the fallback address itself.

因此,要在所有情况下都涉及到这一点,您需要在UI配置(或作为常规UTM参数)和内部后备链接中添加UTM参数,例如:

So to be covered in all cases you'd need to add UTM parameters in UI configuration (or as normal UTM parameters) and inside fallback link, for example:

假设这些是您的UTM参数: utm_campaign = spring_sale& utm_medium = cpc& utm_source = google

Let's say those are your UTM params: utm_campaign=spring_sale&utm_medium=cpc&utm_source=google

您当前的链接:

https://sample.page.link/?link=http://example.com?utm_campaign%3Drandom&apn=com.demo.firebase& utm_campaign = spring_sale& amp; ; utm_medium = cpc& utm_source = google

https://sample.page.link/?link=http://example.com?utm_campaign%3Drandom&apn=com.demo.firebase&utm_campaign=spring_sale&utm_medium=cpc&utm_source=google

您的带有嵌入在Web链接中的UTM的新链接( https://example.com?utm_campaign = spring_sale& utm_medium = cpc& utm_source = google ):

Your new link with UTM embedded in web link (https://example.com?utm_campaign=spring_sale&utm_medium=cpc&utm_source=google):

https://sample.page.link/?link=https://example.com ? utm_campaign%3Dspring_sale%26utm_medium%3Dcpc%26utm_source%3Dgoogle & apn = com.demo.firebase& utm_campaign = spring_sale& utm_medium = cpc&utm_source = google

https://sample.page.link/?link=https://example.com?utm_campaign%3Dspring_sale%26utm_medium%3Dcpc%26utm_source%3Dgoogle&apn=com.demo.firebase&utm_campaign=spring_sale&utm_medium=cpc&utm_source=google

这篇关于没有使用Firebase动态链接为我的网站设置UTM参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆