Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map campaign IDs to names before displaying #26

Open
ryan-boder-zz opened this issue Aug 20, 2019 · 1 comment
Open

Map campaign IDs to names before displaying #26

ryan-boder-zz opened this issue Aug 20, 2019 · 1 comment

Comments

@ryan-boder-zz
Copy link

ryan-boder-zz commented Aug 20, 2019

URL templates in ad platforms offer the ability to pass IDs for campaign, ad group, ad, etc... to enable tracking & measurement. In some platforms (Google) you can only pass the ID. In others (Facebook & Microsoft) you can choose between passing the ID and the name for campaign and ad group/set, but for the ad itself you can still only pass the ID.

As a marketer I always want to pass IDs in the URL, never names! But if I pass IDs then Matomo shows them as meaningless IDs which makes it incredibly difficult to get any useful insights out of Matomo.

Therefore, I would like to be able to import CSV files into Matomo that map IDs to names so that I can pass IDs in the URL but see meaningful names in Matomo.

I want to pass IDs instead of names because:

IDs are private. Passing names in the URL tells anyone who looks at the URL what my marketing objectives, target audience and tactics are. For example, if you are advertising for Matomo which URL would you rather show to the public?

https://matomo.org?pk_campaign=take-customers-from-google-analytics&pk_target=web-devs-who-care-about-privacy&pk_content=our-privacy-features-are-amazing

https://matomo.org?pk_campaign=18276625090&pk_target=7266258309&pk_content=7265112578

You wouldn't want to announce this strategy to GA and you wouldn't want your target customers to see it either. IDs keep your marketing strategy private. Google, Facebook and Microsoft's analytics platforms don't suffer from this problem because they track with a proprietary, encrypted click ID.

IDs never change. It often makes sense to rename campaign items over time as you learn more and your campaigns evolve. If we store IDs in the Matomo database and convert them to names when they get displayed then the names can be changed by importing a new CSV file into Matomo.

IDs are shorter. When passing multiple long tracking parameters you can run into the 2000 character limit on the URL. Especially when passing Matomo pk_ parameters along side the various click ID parameters that ad platforms use. IDs are fixed length and are usually shorter than names.

Managing this by importing CSV files is preferred because the ad platforms make it very easy to download campaign data as CSV so we could just download the files, tweak the column names if necessary and then import them directly into Matomo. Even if I wanted to manage these mappings manually I'd rather do it in a spreadsheet than enter them directly into Matomo in a web form.

Is this a feature you would consider adding?

@ryan-boder-zz
Copy link
Author

Just wanted to follow up... Is this something that would be considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant