# A/B testing with anchor inside page B

**URL:** <https://community.hubspot.com/t/a-b-testing-with-anchor-inside-page-b/60889>\
**Category:** Tips, Tricks & Best Practices\
**Created:** [July 13, 2022, 3:33pm UTC](https://community.hubspot.com/t/a-b-testing-with-anchor-inside-page-b/60889 "2022-07-13T15:33:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAlava](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MAlava](https://community.hubspot.com/u/MAlava)\
**Post date:** [July 13, 2022, 3:33pm UTC](https://community.hubspot.com/t/a-b-testing-with-anchor-inside-page-b/60889/1 "2022-07-13T15:33:02Z")

</div>

Hi guys,

I’m building a Landing page A/B test, and on **Page B,** I’m trying to link a Button to a specific part on the bottom of **the same** page using anchor, but it redirects me to **Page A** instead.

Any ideas on how to solve this issue?

---

<div class="post-metadata">

**Author:** ![ashleyidesign](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ashleyidesign/32/30338_2.png) [@ashleyidesign](https://community.hubspot.com/u/ashleyidesign)\
**Post date:** [July 13, 2022, 5:19pm UTC](https://community.hubspot.com/t/a-b-testing-with-anchor-inside-page-b/60889/2 "2022-07-13T17:19:27Z")

</div>

Hmm, this is hard to diagnose without seeing the page itself. Do you have a preview link you could share?

Cheers,

- Ashley

[ashleyidesign.com](https://www.ashleyidesign.com)

---

<div class="post-metadata">

**Author:** ![MAlava](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MAlava](https://community.hubspot.com/u/MAlava)\
**Post date:** [July 13, 2022, 6:02pm UTC](https://community.hubspot.com/t/a-b-testing-with-anchor-inside-page-b/60889/3 "2022-07-13T18:02:25Z")

</div>

Hi @ashleyidesign ,

Thanks for your comment, I’ve contacted the helpdesk and it seems it was working all along, the problem is the draft link which was not displaying correctly.
