Analytics
2.1K members online now
2.1K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

New Property "must not contain a query"

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello All,

 

I've been reading up on this error message and I understand that I cannot use a "?" in the URL when setting up a new UA tag.

 

We have a CRM vendor that hosts "interest pages" for collecting prospective students information.

 

When a student visits and completes the information fields then they are added to our CRM with a specific "source code" that identifies them.

 

Each page is denoted in the URL as "?ip=xxxxx" and that determines the "created source code" for a contact in our CRM.

 

We use the different URLs to collect information at different events such as off-campus recruiting expos, on-campus events, or even out-of-state conferences.

 

Examples:

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=gradevent

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=graduate

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=recruiting

 

 

We are ramping up our digital advertising and thus want to start tracking visits to these pages.  Ideally we'd like to know which students fill out an interest page based on each digital ad's unique google URL tag. (Which I've already set up.)

 

My understanding is that the vendor hosting the interest pages also needs to have the google tracking script inserted into each interest page.

 

Unfortunately GA doesn't allow a query to exist in the URL for a property.

 

I believe that I could use a more "general" property using everything before the "?" and use view filters to separate the data for the various interest pages.

 

I successfully created properties for the following URLs and sent the vendor the <script>....</script> to insert on each page respectively:

 

https://uwfgrad.askadmissions.net/

https://uwfgrad.askadmissions.net/emtinterestpage.aspx

 

The vendor rejected this and claims the following:

 

"We are only able to put tracking codes on the interest pages of Connect, but we can definitely update these for you. What I will need is the actual URL of the interest page (for example, https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=graduate) with the ip= at the end of the URL. Then I will need the tracking code that needs to be associated with that URL.

The two URLs that you listed below are not able to have tracking codes associated with them. Please let me know what other questions you have for me regarding this ticket request."

Clearly that won't work since he's asking for me to include a query parameter.  

 

What should I do?

 

I found an obscure blog suggesting that I use a URL shortener and create the property tags and scripts based on that.  That blog said shortening the URL would effectively "hide" the query parameters.

 

Would that work?

 

Any insight would be super appreciated.

Re: New Property "must not contain a query"

[ Edited ]
Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Council,

 

Thanks for the great clarification.

 

This is going to be one of the longest posts that I have even written. Hope that it's valuable.

 

What would I do?

 

1. I would create just one property first. It really depends on who's going to analyze this data but I think different properties are necessarily not needed. Actually, you should just add https://uwfgrad.askadmissions.net to the Default URL field in this property and that's enough. Keep in mind, this field doesn't affect data collection. Smiley Happy

 

picture 1.png

 

 

2. To make it work properly (you'll understand it a bit later in this post), you'll need to create a Google Tag Manager account and a simple pageview tag.

 

Here are the instructions that are taken from the official support page on how to complete the first steps in Google Tag Manager:

 

picture 3.png

 

If you've done that, you'll need to create a simple pageview tag first as I mentioned. Just choose Tags -> New -> Click on the "Choose tag type to begin set up..." -> Click on the "Universal Analytics" and then follow these guidelines:

 

picture 2.png

 

1) Add a name, for example, "UA - pageview tag".

2) Add your property tracking ID (you've created it before and you can find it if you go to Admin -> Tracking info -> Tracking code -> this UA-XXXXXXX-Y code is the one that you need.

3) Track type: choose "Pageview"

4) Triggering: choose "All pages"

5) Click "Save".

 

3. Now you'll need to click on this button in GTM:

 

picture 4.png

 

There you can find a GTM code that you'll need to send to your vendor (developer). He/she should install this code on all the pages that you need to track. Just this code, not anything else. That would be enough for him/her. This code should be added to all the following URLs (maybe you have even more of them):

 

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=gradevent

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=graduate

https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=recruiting

 

Here you can find the instructions that you should send to your vendor: https://developers.google.com/tag-manager/quickstart

 

4. If this code is implemented on all the pages that you want, you'll start to see people interacting with those pages.

 

If someone comes to your site by clicking on this link: goo.gl/K2oXAD for example, you will see that this person is visiting your site in GA and the landing page for this visit will be https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=gradevent (with the query parameter attached as you can see). Smiley Happy

 

5. Now, you know how many people are visiting your different pages but you don't know how many of them actually filled out the form. Tha's the next challenge for us.

 

We need to set up a specific goal in Google Analytics to figure out how many people actually filled out the form (how many people completed the action that we wanted).

 

I filled out one of the forms (sorry I just wanted to test that) and went through the whole process and noticed that the URL after completing the form was: https://uwfgrad.askadmissions.net/emtinterestpage.aspx?ip=gradevent&submit=true

 

There's another challenge and we have 2 options:

 

1. To use regex match type and a destination goal in Google Analytics to figure out how many people filled out the form (it's not a best practice and I am not sure that it's 100% accurate - it really depends on the URL). It looks like this:

 

picture 15.png

 

2. There's another option as well - to use Google Tag Manager. I will explain below, how to use Google Tag Manager to make it work properly.

 

/// If you're going to choose the first option, GTM is actually not needed.

 

6. Now you should go back to Google Tag Manager and follow these steps:

 

a) Go to Variables -> New -> Click on the "Choose a variable type to begin set up..." -> Choose the "URL" -> Choose the component type "Query" -> Query key should be: submit - it's just because we would like to know how many people actually filled out the form. As you noticed above, that was in the URL after completing the process. That's how it should look like in Google Tag Manager:

 

picture 5.png

 

Then click "Save".

 

b) If you've done that, you'll need to create a simple event tag. Just choose Tags -> New -> Click on the "Choose tag type to begin set up..." -> Click on the "Universal Analytics" and then follow these guidelines:

 

1) Add a name, for example, "UA - event - submit".

2) Add your property tracking ID (you've created it before and you can find it if you go to Admin -> Tracking info -> Tracking code -> this UA-XXXXXXX-Y code is the one that you need.

3) Track type: choose "Event"

4) Event tracking parameters (you can name them by yourself, but here's an example how you can do it):

picture 6.png

 

 

4) Triggering: click on the "Choose a trigger to make this tag fire..." and then click on the + button that you can find at the right corner of the page. This gives you an opportunity to create a completely new trigger. Click on the "Choose a trigger to begin set up..." and then choose "Page view" and then fill it out like this:

 

picture 7.png

 

5) Click "Save".

 

7. Now, if your vendor has already implemented Google Tag Manager code on your site, you should go and choose "Preview":

 

picture 8.png

 

Then go and visit one of your pages that you mentioned before and then you should see this kind of popup: 

 

picture 9.png

 

If you don't see it, there needs to be something wrong with the tracking code (your vendor hasn't implemented it properly).

 

Now complete the form and if you've done that, click on the "Page View":

picture 10.png

 

Now, if you see "UA - Event - Submit" and "UA - pageview tag" under the "Tags Fired On This Event:" everything is fine and you've done everything correctly. Smiley Happy

 

8. Now you should go back to your Google Tag Manager account and press "Publish" button that you can find at the right corner of the page.

 

9. Now, you should go to your Google Analytics account, find the right property and go to the Admin section -> View -> Goals -> "+ New Goals" and then follow these steps:

 

picture 11.png

 

Then click "Save".

 

10. Now go to your "Real-Time report" in Google Analytics (Reporting -> Real-Time) and then choose "Conversions". After that, go to your page once again, fill out the form, click Submit and then go back to this Real-Time report and then you should see that the application was just submitted. Wuhuu! Smiley Happy

 

11. What's the best way to analyze all of this data for now?

 

I created a custom report for you that you can import from here: https://analytics.google.com/analytics/web/template?uid=WpdhnjFSRmiRRCIvAjZ-1g

 

There you should see a landing page in the first column and the number of goals (how many people submitted the form on this page) in the next column.

 

One more thing that you should do in order to make it work:

 

1) Click on the edit button:

 

picture 12.png

 

2) Choose "Applications submitted - Goal 1 Completions" as a metrics:

 

picture 13.png

 

3) Click "Save".

 

Now, you're able to see all the landing pages and how many people actually submitted the forms.

 

Let's be honest. It takes time and you need to be patient to go through this process. It's long, very long but I truly wanted to help you out. Smiley Happy

 

It's just one way how to do that. Smiley Happy

 

If you have any questions or you're struggling at some point, just let me know.

 

Hope this helps you and the whole community.

Taavi

New Property &quot;must not contain a query&quot;

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Wow.  I was not expecting a reply this comprehensive or timely.  You sir, are a clear communicator.  I'll start working on this and let you know how it goes.  It might take a week or two since I'm trying to meet other deadlines currently.  Thank you so much!

 

New Property &quot;must not contain a query&quot;

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Taavi,

 

I set everything up on my end.  I sent the code to the vendor so now I'm just waiting for them to install it.  I'll let you know how it goes!

New Property &quot;must not contain a query&quot;

Participant ✭ ✭ ✭
# 5
Participant ✭ ✭ ✭

That's great. Looking forward to hearing from you.

 

Taavi

Re: New Property &quot;must not contain a query&quot;

[ Edited ]
Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

Taavi, 

 

The vendor completed the installation of the code and it's starting show data. 

 

I do have a question about the report you shared with me.

 

I imported it and configured.  (When I was creating the tags I renamed "Application Completion" to "Interest Page Completion" because "application" has a different meaning in my industry.)

 

Currently this is what is shown on the report:

Screen Shot 2016-11-09 at 11.44.40 AM.png

These URLs don't share the same ip=xxxxx so does that mean that the stats are also for the separate interest pages (ip)?

 

Will more "Landing Pages" appear on this report as each interest page receive visits and their forms are completed?

 

I noticed that /emtinterestpage.aspx?ip=graduate&submit=true is not appearing yet.  Shouldn't that appear in this report if that particular interest page has been completed?

 

Analytics is showing that the page hosting the "ip=graduate interest page" via an iFrame has been receiving visits since the code was installed 2 days ago.

 

Screen Shot 2016-11-09 at 11.44.18 AM.png

 

I know that a visit does not guarantee they will actually complete the form.

 

However, my CRM is showing that I do have new contacts created in that time frame from that online form.

 

Wouldn't I expect to see /emtinterestpage.aspx?ip=graduate&submit=true  appearing in the goal completion report because of this?

 

Thanks!

 

 

 

New Property &quot;must not contain a query&quot;

Participant ✭ ✭ ✭
# 7
Participant ✭ ✭ ✭

Hi,

 

First of all, I noticed that you have 2 GTM code installed on all those pages. I guess, the vendor installed another one for himself/herself.

 

This GTM code: "GTM-WBNPJJ" doesn't work properly right now. Hopefully, it's not yours. This one: "GTM-PQK4KD" works properly. If you log into your Google Tag Manager (GTM) account, you'll see which one is yours.

 

Actually, a landing page is a page where visitors start their session so it's technically a bit weird that you see "&submit=true" as a landing page in Google Analytics. It should be the second step during the process, not a landing page.

 

Make sure you don't share links with "&submit=true" anywhere because if someone lands on these pages where "&submit=true" has already been appended, you'll see a lot of goal completions (that is not correct).

 

Are you only driving visitors to these landing pages that you mentioned before directly (using Google URL shortener) or is it possible to land, for example, on this page "http://uwf.edu/graduate/apply/how-to-apply/" first and then you'll start completing the form?

 

If we're not driving people directly to the interest pages where the GTM has been installed, "landing page" is not a good dimension to analyze in Google Analytics.

 

Please check those reports as well:

 

1) Conversions -> Goals -> Goals URLs

2) Conversions -> Goals -> Reverse Goal path

 

If you'll find something suspicious, please let me know. Sometimes things are technically not that easy.

 

Hope this helps. Let me know how it goes.

Taavi