The ROI Revolution Blog
« Copy Profiles in Google Analytics | Main | Announcing Google Analytics Seminars for Success in Charlotte, NC, December 9-10 »
Copy Filters in Google Analytics
August 6, 2009
The Copy Profiles Greasemonkey script now allows you to copy filters from one Google Analytics account to another. Simply go to the Google Analytics account that has the filters you want to copy. Go to the Filter Manager. Check off the boxes for the filters you wish to copy and hit the "Copy" link located in the column header.
Once you've done this, navigate to the Google Analytics account that you want to paste the filters into. Go to the Filter Manager again and click the "Paste Filters" button.
Now sit back and watch it go.
Again, this script is actually an addition to the Copy Profiles script. If you already have the Copy Profiles script, you'll want to download it again to get the filter copy feature. Here are the steps for everyone else:
Both this post and the previous post will give you the same script. For those who haven't been following along, this script is a separate script from the GARE, at least for now.
That's it! I'm fresh out of scripts. If you think of an improvement to this script or find a bug, let me know. I wouldn't mind hearing from you if you've just plain found this script useful either :)
Interested in learning more about Google Analytics?
Attend our LIVE Google Analytics Seminars for Success training in Atlanta, GA Wednesday, April 14th, 2010 and Thursday, April 15th, 2010 or get the latest tips and tricks sent to you via our free, twice-monthly Google Analytics newsletter.
Posted by Jeremy Aube, Analytics and Optimization Specialist at 4:18 PM
Permalink | Comments ( 25 ) | TrackBacks ( 0 )
Filed under: Analytics
Tagged as: Analytics Technology, Greasemonkey
Comments
@Bernado: Try clearing your cache and downloading the script again.
August 7, 2009 7:43 AM
Jeremy,
This is another fantastic addition to your growing list of tremendously useful scripts. Thank you.
One, extremely small quibble. The "toggle all filters" button and Copy link in the column header are very close to each other which may be confusing. I realise that space is very limited but perhaps it is worth keeping them slightly more apart.
Again, this isn't significant. One can get used to it quickly.
Thanks again,
Michael
August 8, 2009 10:38 AM
@Michael: Thanks for the suggestion. I'll throw in a couple extra non-breaking spaces into the next update.
August 10, 2009 7:42 AM
It doesn't work for me filters copy option. I can't see the buttons.
August 17, 2009 4:58 AM
@Enrique: What language settings are you using for Google Analytics? Unfortunately, the script is dependent on English language settings, but I've made a language settings section in response to Julien Coquet's translation of the script into French that should make it fairly easy for you to make the script work in your own language. Just edit the script and replace the values of the first 6 variables. In fact, the script should work as long as the first two variable values match the names in Google Analytics.
August 17, 2009 7:48 AM
I use spanish language.
I have change this lines with the spanish traduction , but still doesn't work for filters , ok for profiles.
var edit = "Editar",
deleteLink = "Borrar",
copy = "Copiar",
paste = "Pegar",
paste_filters_button_text = "Pegar filtros",
filter_warning = "No se pueden copiar filtros en la misma cuenta";
August 19, 2009 10:26 AM
@Enrique:
Try this:
var edit = "Editar", deleteLink = "Suprimir", copy = "Copiar", paste = "Pegar", paste_filters_button_text = "Pegar filtros", filter_warning = "No se pueden copiar filtros en la misma cuenta";
Apparently Google Analytics uses "Suprimir" instead of "Borrar". I don't have sufficient knowledge of the Spanish language to know why or if it should be "Borrar" instead.
August 19, 2009 10:35 AM
Is strange , but when I change the two first var , in the profiles options have:
Edit | Delete | Edit | Edit
And in the filters option nothing.
Copy converts in Edit , and Paste converts in Edit.
Strange ...
August 19, 2009 1:48 PM
@Enrique: I updated the script so that the first two variables are eliminated. The script should now work in any language, with the option to change the values of the variables in the beginning to match your language. You should re-download the script to get the latest update.
August 19, 2009 4:04 PM
Hi Jeremy,
It is certainly a very useful script. However I noticed some interesting behavior. When for any reason the copying process is interrupted, every time you go back to the Manage Profiles page the pending copying process seems to re-start and ends up on an error. The only solution is to stop and remove the script.
In any case, it is a great tool.
Cheers,
Jose
August 19, 2009 4:27 PM
Exactly the same.
I see that when I'm in profiles page I have all options in english
example:
Day Week Month Year
+ Add new profile
But when I edit the profile all the options are in spanish. I think that google analytics is in spaninglish
This is when I go to Analytics from adwords.
But When I go to analytics directly is the same doesn't work but in profile page I see this options.
Editar | Suprimir | Copyar | Pastear
This is a KAOS , I think the problem is that analytics isn't well traslated so the script doesn't work fine in spanish.
August 19, 2009 4:51 PM
@Jose: I updated the script so that you can stop an interrupted process (filter copy or profile copy) by going to the Analytics Settings page. You'll need to download the latest version of the script.
If necessary, you can also disable GreaseMonkey by clicking the monkey head in the bottom right-hand corner, then navigate to the Analytics page, click the monkey head again to re-enable GreaseMonkey, then refresh the page so the script knows to reset the process.
Thanks for pointing out this issue!
August 19, 2009 5:11 PM
@Enrique: Do you have the latest version of the script? If so, you should only see 4 variables:
copy
paste
paste_filters_button_text
filter_warning
I tested it in Spanish on my end and everything seems to be working fine. If you're still having issues after getting the latest version of the script, let me know what you changed the variable values to and I'll test it again on my end.
August 19, 2009 5:28 PM
I use this code
http://www.darkmoonwebdesigns.com/blog/descargas/copy_profiles.user.js
If you like I give you my msn and install Teamviewer 4 so you can see it in my pc. Is program that shares desktop.
August 20, 2009 9:02 AM
@Enrique: I installed your version of the script here and saw the issues you were talking about. If you download the latest version of the script, you'll see that it has been reworked so that the first two variables are no longer needed (they are the ones that are causing all the trouble). You'll have to swap out the variable values again, but that should take care of the issues that you're seeing.
August 20, 2009 10:32 AM
I download from this url is correct ?
http://roirevolution.com/script/copy_profiles.user.js
August 20, 2009 2:10 PM
@Enrique: That's correct. If you're still seeing 6 variables instead of 4 after downloading from there, you may need to clear your cache first.
August 21, 2009 8:44 AM
I install the 4 variables file now , and is the same.
I only change this part of code.
var copy = "Copiar",
paste = "Pegar",
paste_filters_button_text = "Pegar filtros",
filter_warning = "No se pueden pegar filtros en la misma cuenta";
August 22, 2009 4:32 AM
@Enrique: Try completely removing the script, then re-installing the script and making the language changes. Over here it seems to work perfectly.
Of the issues you've been seeing, which are you seeing now?
August 24, 2009 9:45 AM
Hi There,
I cant see the options in "Filters" either?
I am using analytics from the UK in English, I have tried cleaning all my cache etc...
Many Thanks
Chris
August 27, 2009 6:07 AM
@Chris: I tested the script with UK language settings, but I wasn't able to reproduce the issue on my end. Here's some things for you to check:
1. I've added a version number to the latest version of the script, which I've just uploaded. If you edit the script, the first comment after the UserScript Comments will give a version number of 0.2.4. If you don't see this version number, you should try clearing your cache, closing all your browser windows, then going back and uploading the script again. Until you see that version number, you probably don't have the most up to date version of the scipt.
2. I assume that when you enter the filter manager, the URL in the address bar will contain "filter_list". Make sure that it does.
3. Make sure that you're going to the Filter Manager from the Analytics Settings page, rather than adding or editing a filter from a particular profile.
4. Feel free to throw in any alerts you like to try and figure out where the script is breaking. If we can determine a break point, we might be able to dialogue better about why the script doesn't work for you.
August 27, 2009 5:51 PM
I had the same issue - could not see the options in "Filters" - but in the end I realized that I was looking in the wrong place. I was not in the "Filter Manager" under "Analytics Settings" (I could barely see that link, indeed), I was rather looking for the option in the "Profile Settings" page, in the ""Filters Applied to Profile" section, where I am used to setting/managing filters for profiles...
This can maybe help other folks with the same issue...
September 1, 2009 11:25 AM
Hey, the updated GARE script only has the updated copy profile script.. Where can I get the original script with the ROI rev logo etc.?
November 6, 2009 10:12 PM
@Anupama: There are actually two scripts now. I'll probably work this new script into GARE eventually. The latest post on GARE is right here.
Receive new blog posts immediately direct to your email inbox!











Funny, but it is not working for me! In the profiles area I can copy and paste, but in the filter area nothing new appears...
August 7, 2009 3:01 AM