I'd recommend the standard process using
[bower](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt/local-8df068cc-
0e2a/0?redirect=http%3A%2F%2Fbower.io%2F) which is documented on the [polymer
website](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt/local-8df068cc-
0e2a/1?redirect=https%3A%2F%2Fwww.polymer-project.org%2F1.0%2Fstart%2Ftoolbox
%2Fadd-elements):

  

bower install --save GoogleWebComponents/google-analytics  

  

That command should pull everything required for the google-analytics
component to be functional.

  
Sent from [Nylas N1](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt
/local-8df068cc-0e2a/2?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1), the
extensible, open source mail client.  

On May 28 2016, at 5:14 am, [email protected] wrote:  

> Thank you Daniel!

>

> I'm really new to all of this, is there a way I can get the files required
(like webcomponents-lite.js) easily, so I can uploaded them to Wordpress?

>

>  

>

> Thanks again!  
Take care!  
  
On Friday, May 27, 2016 at 12:29:29 PM UTC-3, Daniel Llewellyn wrote:

>

>> Yes it is. You will need to edit your WordPress theme, or preferably
[create a child-theme](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt
/local-
6900c420-b7fb/0?redirect=https%3A%2F%2Fcodex.wordpress.org%2FChild_Themes) for
your changes so that updates to your theme from the original author don't
destroy your changes when you update.

>>

>>  

>>

>> You will need to add declarations in your child-theme's functions.php file
to 'enqueue' the webcomponents polyfill and to output your html imports.
Something [similar to
this](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt/local-
6900c420-b7fb/1?redirect=http%3A%2F%2Fwpbin.io%2Fegg74v) would probably be
appropriate.

>>

>>  

>>

>> For help with WordPress theming you can find myself and others in FreeNode
IRC in the [official #WordPress support
channel](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt/local-6900c420-
b7fb/2?redirect=https%3A%2F%2Fwebchat.freenode.net%2F%3Fchannels%3D%23WordPres
s).

>>

>>  

>>

>> Hope this helps.

>>

>>  

>>

>> Daniel Llewellyn.

>>

>>  

>>

>> Sent from [Nylas N1](https://link.nylas.com/link/5nposllwbhi4nz5zmeksi4tyt
/local-6900c420-b7fb/3?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1), the
extensible, open source mail client.  

>>

>> On May 27 2016, at 3:20 pm, [email protected] wrote:  

>>

>>> Hello

>>>

>>>  

>>>

>>> I wanted to know if its possible to install Polymer Elements in a
WordPress. I'm interested in using Google Analytics web component.

>>>

>>>  

>>>

>>> Thanks!

>>>

>>> Follow Polymer on Google+: [plus.google.com/107187849809354688692](http://
plus.google.com/107187849809354688692)  
\---  
You received this message because you are subscribed to the Google Groups
"Polymer" group.  
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].  
To view this discussion on the web visit [https://groups.google.com/d/msgid
/polymer-dev/aafa5a80-88d5-40f6-a005-65fc65fc8255%40googlegroups.com](https://
groups.google.com/d/msgid/polymer-dev/aafa5a80-88d5-40f6-a005-65fc65fc8255%40g
ooglegroups.com?utm_medium=email&utm_source=footer).  
For more options, visit
[https://groups.google.com/d/optout](https://groups.google.com/d/optout).  

>

> Follow Polymer on Google+: plus.google.com/107187849809354688692  
\---  
You received this message because you are subscribed to the Google Groups
"Polymer" group.  
To unsubscribe from this group and stop receiving emails from it, send an
email to [[email protected]](mailto:polymer-
[email protected]).  
To view this discussion on the web visit [https://groups.google.com/d/msgid
/polymer-dev/5a90368b-576d-
4fa1-a3f4-94ea045199a1%40googlegroups.com](https://groups.google.com/d/msgid
/polymer-dev/5a90368b-576d-
4fa1-a3f4-94ea045199a1%40googlegroups.com?utm_medium=email&utm_source=footer).  
For more options, visit <https://groups.google.com/d/optout>.  

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/7uskse15xlu1zbb6wgvhvi6ym-0%40mailer.nylas.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to