Skip to content

Getting url project anchor text macros - How?

I got a project setup like this within the url field
url1#anchor
url2#anchor
url3#anchor

now my question is how do I get the exact anchor text of url1

whenever using the %anchor_text% macro, I always receive random anchors with it being mixed of
domain anchor text and branding anchor text

I only want to retrieve the "defined url anchor" what macro do I use?
«1

Comments

  • SvenSven www.GSA-Online.de

    Depends on how you use this. %anchor_text% alone is of course using a random anchor text. But if you use it in combination with the %url% macro (first %url% and later in the text %anchor_text%) then it should use the correct content for that URL.

  • edited March 2015
    I tried it as you mentioned %url% some text %anchor_text%

    it still pulls the domain and branding anchors.

    had another check through the macro guide and found these two:

    %url<number>%

    Uses the exact URL from your project (first is %url1%). If you have defined less URLs in the project, it will use a random one.

    %anchor_text<number>%

    Uses the exact anchor text from the URL in your project. If no anchor_text was defined with that URL it is handled the same as %anchor_text%.

    I tried inputting as this %anchor_text1% ,as the above mentioning

    only this time it gives no output when testing in the preview window, just stays the same %anchor_text1%

    what am I doing wrong?

  • SvenSven www.GSA-Online.de
    well wait, there is no branding anchor that you can define next to an URL. It only accepts primary and secondarxy anchors. Of course if % is right, it will choose the branding and whatsoever anchor text defined in the fields.
  • edited March 2015
    Thanks Sven,

    I guess their is no additional macro for this feature, if only their was a way to output

    url1#anchor
    url2#anchor
    url3#anchor

    that highlighted and only that...

    is'nt their any macros available like this

    %brand%
    %domain%
    %url_anchortext%

    I mean when you think about it, this could optimize titles and content for specific urls, based on just on one campaign.
  • SvenSven www.GSA-Online.de
    Well there are a lot macros that could suit your needs: http://docu.gsa-online.de/search_engine_ranker/macro_guide
  • Sven, please get example for this:

    %keyword<number>%
    This macro would insert not a random keyword but take the exact order from the project setting. %keyword1% is taking the first defined keyword, %keyword2% the second and so on.
    Example: My site is all about %keyword1% and %keyword2% Output: My site is all about joy and divistion.
    Assuming you have “joy, division, music, …“ defined in your project as keywords you would get the above output as it takes %keyword1% which is joy and %keyword2% which is division.

    and this:

    %anchor_text<number>%
    Uses the exact anchor text from the URL in your project. If no anchor_text was defined with that URL it is handled the same as %anchor_text%.

    Because it don't really work now (for GSA SER 9.86). It simply put %anchor_text1%, %keyword1% in output message, don't convert it.
  • SvenSven www.GSA-Online.de
    edited June 2015
    This is not working in Preview but on submission.
  • Ok! thank for answer, I check it now. And another question:
    I have url with anchor text and secondary anchor text:
    htto://domain.com/page.html#{achor1 {SUBachor11|SUBachor12}|anchor2 {SUBachor21|SUBachor22}}#{secondary_anchor1 {SUBsecondary_anchor11|SUBsecondary_anchor12}|secondary_anchor2 {SUBsecondary_anchor21|SUBsecondary_anchor22}}

    How I make insert in macro it?

    I check
    <a href=“%url%”>%anchor_text%</a> %sanchor_text%
    But not work...
  • SvenSven www.GSA-Online.de
    same here...should work on submission but not in Preview.
  • macros:
    <a href="%url%">%anchor_text%</a> %url_path% %anchor_text1000% 
    insert %url%" %anchor_text% ----- from this: "URL": http://site.com#{anchor1|anchor2}
    and
    %anchor_text1000% - insert random anchor from this: "Anchor Text (based on Main Keyword)" - it's good, but probably better it paste from this: "URL": http://site.com#{anchor1|anchor2}.
    How can I do that?
  • SvenSven www.GSA-Online.de
    sorry I don't get the problem.
  • edited July 2015
    I have the same problem as GSAHKing

    My urls with anchors:

    http://www.myshop.com/product1.html#anchor_for_product1#secondary_anchor_for_product1
    http://www.myshop.com/product2.html#anchor_for_product2#secondary_anchor_for_product2
    http://www.myshop.com/product3.html#anchor_for_product3#secondary_anchor_for_product3

    For example, in my project options generic_anchor_text = 100%

    How can I get the exact anchor text and exact secondary anchor text for product1.html, product2.html, product3.html?

    According to my settings %anchor_text% = generic_anchor_text = 100%
    %random_sanchor_text% suitable for solving my problem with secondary anchor text, but it is random value...
     

  • I also have over this issue? I would like to call the exact anchor text, anchor text accurately call from URL area
  • SvenSven www.GSA-Online.de

    @Dovzhenich well if you use 100% generic anchor text, then the secondary anchor tex tis not used at all!=

    @jokima %anchor_text% is always relevant to %url% macro.

  • edited July 2015
    @Sven, ok. My options:
    generic_anchor_text = 80%
    secondary_anchor_text = 10%

    My URLS:
    http://ww.myshop.com/product1.html/#GSA#grate seo
    http://www.myshop.com/product2.html#GSA Captcha Breaker#solving captchas

    And I want write in blog comments text for http://ww.myshop.com/product1.html:
    You can buy grate seo tool GSA in my shop.

    And blog comments text for http://ww.myshop.com/product2.html:
    You can buy solving captchas tool GSA Captcha Breaker in my shop.

    I cant do this without extact anchor and exact secondary anchor macros. (

    As @GSAHKing said, this marcos could optimize titles and content for specific urls, based on just on one campaign.

    Thank you for your help!
  • Sven, сan you add these macros?
  • SvenSven www.GSA-Online.de
    you mean you want the url to be plain in comment without a link?
  • edited July 2015
    I want to use an anchor text without a link in comment text.
    You can buy %EXACT_SECONDARY_ANCHOR% tool %EXACT_ANCHOR% in my shop.

    For url1 (http://ww.myshop.com/product1.html#GSA#grate seo) comment will be:
    You can buy grate seo tool GSA in my shop.

    For url2 (http://www.myshop.com/product2.html#GSA Captcha Breaker#solving captchas)
    comment will be:
    You can buy solving captchas tool GSA Captcha Breaker in my shop.


  • SvenSven www.GSA-Online.de

    you have to create a spin syntax like this...

    You can buy {#L1 %sanchor_text1%|#L2 %sanchor_text2%|#L3 %sanchor_text1%|...} tool  {#L1 %anchor_text1%|#L2 %anchor_text2%|#L3 %anchor_text1%|...} in my shop.

    The #L? is a placeholder that makes sure that the same combination is used in other spins. It's a bit work as you have to do this #L stuff as much as you have URLs but thats it. 

  • Thank you Sven!
  • In "URL submit" I use this macro: %spinfolder-c:\gsa\urls\%
    And check "Use URL variations with" 100%, but nothings variation in my urls... What problem?
  • SvenSven www.GSA-Online.de
    hmm why spinfolder here and not spinfile or file? is it really a folder with files and one url per line?
  • SvenSven www.GSA-Online.de
    anyway next version should work here with that macro as well
  • Thanks, Sven!
  • Sven, I check version 10.36 and confused - my macro %spinfolder-c:\gsa\urls\% in "URL submit" don't respect any others macros with %spinfolder-c:\gsa\keys\% and %spinfolder-c:\gsa\anchors\%.
    May you give me link to download version 10.35 with don't have this issue?
  • SvenSven www.GSA-Online.de
    wait, you use two macros in one? Maybe send me the project backup and folder content.
  • I sent you project data and folder to mail.
    May you revert behavior macros %spinfolder% on "URL submit" when option "Use URL variation" is unchecked? (as in version 10.35)
  • SvenSven www.GSA-Online.de
    the project you have sent me does not have any macro in the url field!?
  • SvenSven www.GSA-Online.de
    ok skip that...found the issue and fixed it in next update
  • because in version 10.36 gsa-ser replace it macros %spinfolder-c:\gsa\urls\% to content of files 
    c:\gsa\urls\1.txt
    c:\gsa\urls\2.txt
    c:\gsa\urls\3.txt
    directly to field "URL submit".
Sign In or Register to comment.