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

Duplicating filters to another account #10

Open
palbertus opened this issue Oct 4, 2017 · 3 comments
Open

Duplicating filters to another account #10

palbertus opened this issue Oct 4, 2017 · 3 comments

Comments

@palbertus
Copy link

Exported filters from one account (List) and then changed the account Id with another existing and updated (Update). None from filters did show up in the new account. Same process with removing the ID.
Did I missed something?

@pakachoag
Copy link

Agree - this functionality SIMPLY DOES NOT WORK!

The author should stop falsely advertising this add-on as a solution for copying filters across accounts until it actually works!

@NickGuebhard
Copy link

I believe this is because the script only updates existing filters based on the "filter ID" column:
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/filters/update
The add-on does not have the functionality to create new filters. For that you may need to add to the code as per this link: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/filters/insert
I would imagine it becomes a bit tricky to write the code when there are dependencies on Property level custom dimensions where you have to write the filter to a GA View as opposed to an account.

@palbertus
Copy link
Author

In fact, I was able to update :)
I simply incremented the ID with a new entry and filters have been created. Quiet Simple.

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

3 participants