Google Adwords Landing Page and Nop-Templates Nop Ajax Filter Plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 年 前
Hello,

we have a problem with the url that nop ajax filter plugin constructs after we made a filter selection. It contains !, # characters that are disallowed characters on the url that google adwords landing page expects. Has anybody faced the problem to give me a solution? Is there another way to rewrite the url without the !,# characters? We use nopcommerce v.3.60. Thanks.
8 年 前
[email protected] wrote:
Hello,

we have a problem with the url that nop ajax filter plugin constructs after we made a filter selection. It contains !, # characters that are disallowed characters on the url that google adwords landing page expects. Has anybody faced the problem to give me a solution? Is there another way to rewrite the url without the !,# characters? We use nopcommerce v.3.60. Thanks.



Hi Hans,

As far as I we aware Google Adwords should ignore everything after the first #.

Basically you should not add such dynamically generated links from the Ajax Filters to be used for direct links i.e addwords.

So for Adwords these two pages are the same:

http://www.mysite.com/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1

http://www.mysite.com/category


Regards,
Deni
8 年 前
Hi! Thank you for your answer, but what i want to do is to create a landing page on adwords in which i want to see filtered products from the category and not the category. For example i want to see laptops with i-7 cpu and 2 mb memory from the category laptops. So the url must contains in some way the filtered settings showing in http://www.mysite.com/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1.
Is there an idea how i can configure this? With url rewriting maybe on iss? With custom routing? Any idea will help. Thanks.
8 年 前
[email protected] wrote:
Hi! Thank you for your answer, but what i want to do is to create a landing page on adwords in which i want to see filtered products from the category and not the category. For example i want to see laptops with i-7 cpu and 2 mb memory from the category laptops. So the url must contains in some way the filtered settings showing in http://www.mysite.com/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1.
Is there an idea how i can configure this? With url rewriting maybe on iss? With custom routing? Any idea will help. Thanks.


Hi,

I was going to suggest you to use any url shortener, but I think this is against the Adwords policy.

So, the solutions is to use the rewrite option in the IIS.

Regards,
Deni
7 年 前
[email protected] wrote:
Hi! Thank you for your answer, but what i want to do is to create a landing page on adwords in which i want to see filtered products from the category and not the category. For example i want to see laptops with i-7 cpu and 2 mb memory from the category laptops. So the url must contains in some way the filtered settings showing in http://www.mysite.com/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1.
Is there an idea how i can configure this? With url rewriting maybe on iss? With custom routing? Any idea will help. Thanks.

Do I understand you:
For example, you want to pay for adwords keyword term like "i7 + 2mb" ..and when this adwords link is clicked, you want the visitor to land on your already-filtered search page...correct?

You say Google will not allow you to specify the landing page URL for your campaign to include the special characters, so you only have one option.

You must create static versions of your filtered search results pages.

In other words, first, search your store with appropriate filters active.

Create a topic page with a simple list of name/photo/short description of each of the results from your search, with links pointing to your actual product pages.

Name the topic page like: "productsearch-i7-2mb" and set SEO friendly page name as same value.

Put this address in adwords campaign:
http://www.mysite.com/productsearch-i7-2mb
7 年 前
Another alternative to using Topic pages is the Articles plugin. Your page address will be like:  http://www.mysite.com/article/productsearch-i7-2mb
..or whatever...

If you have many adwords keyword terms, it will allow you to easily organize your adwords term/article pages for management, and also to include the URL's to your sitemap.
7 年 前
Or, as Deni suggested, you COULD use IIS rewrite module, but it would be a little tricky.
In other words, you can teach the IIS Rewrite module to either strip off or append those querystring variables.


example:
at adwords you specify the campaign URL as:
http://mystore.com/myspecialurl

in your web.config (or an embedded staticrewrites.config) you will define the expected incoming address, and which URL to redirect them to.

<rewriteMaps>
       <rewriteMap name="StaticRedirects" defaultValue="">
           <add key="/myspecialurl" value="/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1" />
        </rewriteMap>
</rewriteMaps>
7 年 前
embryo wrote:
Or, as Deni suggested, you COULD use IIS rewrite module, but it would be a little tricky.
In other words, you can teach the IIS Rewrite module to either strip off or append those querystring variables.


example:
at adwords you specify the campaign URL as:
http://mystore.com/productsearch-i7-2mb

in your web.config (or an embedded staticrewrites.config) you will define the expected incoming address, and which URL to redirect them to.

<rewriteMaps>
       <rewriteMap name="StaticRedirects" defaultValue="">
           <add key="/productsearch-i7-2mb" value="/category#/specFilters=1!#-!12!-!13m!#-!107&pageSize=24&orderBy=0&pageNumber=1" />
        </rewriteMap>
</rewriteMaps>


I will add that this is method is not recommended for beginners, as it requires working with the web.config, and/or an embedded rewrites map, either of which will bring down your website with the slightest syntax error.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.