# How to implement Google reCaptacha into Ionic

**URL:** <https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369>\
**Category:** uncategorized\
**Created:** [June 30, 2015, 2:07am UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369 "2015-06-30T02:07:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![polska03](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@polska03](https://forum.ionicframework.com/u/polska03)\
**Post date:** [June 30, 2015, 2:07am UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/1 "2015-06-30T02:07:42Z")

</div>

How can implement Google reCaptacha into Ionic. I tried following the instructions from Google:

Paste this snippet before the closing tag on your HTML template:

Paste this snippet at the end of the where you want the reCAPTCHA widget to appear:

The reCAPTCHA documentation site describes more details and advanced configurations.

This though did not work. Nothing is shown and their is no debug information. Has anyone implemented this feature into their app and could share a step by step instructions of how to do this? Thanks.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [June 30, 2015, 2:28pm UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/2 "2015-06-30T14:28:57Z")

</div>

Not sure you would need to add reCaptacha though. Its purpose is to prevent bots from spamming sites. Not really needed in an app where people have to explicitly download the app

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [June 30, 2015, 2:36pm UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/3 "2015-06-30T14:36:40Z")

</div>

I agree with Mike, but if you really need it for some specific reason, the following link shows how to use Google reCaptcha with AngularJS:

> **[Google reCaptcha with AngularJS | CipherTrick](https://ciphertrick.com/2015/05/19/google-recaptcha-with-angularjs/)**
>
> Google introduced the new No Captcha reCaptcha, this tutorial explains how to implement it with angularJS, Google reCaptcha with AngularJs Tutorial.

~ Brad

---

<div class="post-metadata">

**Author:** ![polska03](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@polska03](https://forum.ionicframework.com/u/polska03)\
**Post date:** [June 30, 2015, 6:28pm UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/4 "2015-06-30T18:28:54Z")

</div>

Yes, to prevent spam bots. I am concerned if an attacker (I understand attack on my app would be unlikely, but I am using AWS which I would have to pay for any resources used by spam and can’t afford the risk) downloads my app and then takes say the .apk file and runs it locally on their system where they create bots to start registering and posting. Again I understand the risk level is low, but I can’t afford it if it happened.

---

<div class="post-metadata">

**Author:** ![polska03](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@polska03](https://forum.ionicframework.com/u/polska03)\
**Post date:** [June 30, 2015, 6:31pm UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/5 "2015-06-30T18:31:29Z")

</div>

Thanks for the link, I noticed it earlier but was unsure if it will work ionic.

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [July 1, 2015, 12:16am UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/6 "2015-07-01T00:16:23Z")

</div>

I don’t see there being a problem integrating this with Ionic. I hope it helps. Let me know if it works out for you.

~ Brad

---

<div class="post-metadata">

**Author:** ![brb\_elia](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@brb\_elia](https://forum.ionicframework.com/u/brb_elia)\
**Post date:** [March 2, 2016, 4:27pm UTC](https://forum.ionicframework.com/t/how-to-implement-google-recaptacha-into-ionic/27369/7 "2016-03-02T16:27:46Z")

</div>

And how about the pairs keys/domain in reCaptcha admin panel? A Ionic app doesn’t has any domain…
